import {defineStore} from "pinia";

/**
 * 租户store
 */
export const practiceStore = defineStore('practice', {
    state: () => ({
        practiceOpen: false,
        bankId:0,
        bankName:''
    }),
    actions: {
        setPracticeOpen(value: boolean) {
            this.practiceOpen = value
        },
        setBankId(value: number) {
            this.bankId = value
        },
        setBankName(value:string){
            this.bankName=value
        }
    }, getters: {}
})